{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=301
  Verdict: Accepted
}
uses SysUtils, Math;
 
var
	x1,x2,d,a,b,c:extended;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(a,b,c);
d:=b*b-4*a*c; 
if a=0 then begin
	if (b=0) then begin
		if c=0 then write(0);
	end else write((-c/b):0:6);
end else
if d>0 then begin
		x1:=(-b+sqrt(d))/(2*a);
		x2:=(-b-sqrt(d))/(2*a);
		write(x1:0:6,' ',x2:0:6);	
end else 
if d=0 then begin
	write((-b/(2*a)):0:6);
end;
end.